package com.gxh.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel(description = "用户端设备分页查询参数")
public class UserMachinePageQueryDTO implements Serializable {
    @ApiModelProperty("页码")
    private int page;
    @ApiModelProperty("每页条数")
    private int pageSize;

    @ApiModelProperty("设备位置")
    private Long locationId;
    @ApiModelProperty("设备分类")
    private Long categoryId;
    @ApiModelProperty("设备类别")
    private Integer type;
    @ApiModelProperty("设备价格区间开始")
    private BigDecimal startPrice;
    @ApiModelProperty("设备价格区间结束")
    private BigDecimal endPrice;
    @ApiModelProperty("设备出厂年份区间开始")
    private Integer startYear;
    @ApiModelProperty("设备出厂年份区间结束")
    private Integer endYear;
    @ApiModelProperty("价格排序方式")
    private String priceSort;
    @ApiModelProperty("关键词")
    private String keyword;
}
